//
//  MBDUploadGroupQRCodeCellModel.swift
//  MasterBoy
//
//  Created by kyson on 2024/9/5.
//

import Foundation



class MBDUploadGroupQRCodeCellModel: MBDUploadGroupBaseCellModel {
    private var height : CGFloat?
    var qrCode : UIImage?
    var qrCodePath : String?
    var praisedQRCode : String?

    static let clickToSetGroupQRCode = MBDPath2URLUtils.filePathPrefix.appending("ico_upload_add")

    override var cellHeight : CGFloat! {
        get {
            return (self.height == nil || self.height == 0) ? 55 : self.height
        }
        set (aCellHeight){
            self.height = aCellHeight
        }
    }
    
    override func isEmpty() -> Bool {
        return qrCodePath == MBDUploadGroupQRCodeCellModel.clickToSetGroupQRCode
    }

}
